<include file="public@header" />
<style>
	table{ border:1px solid #000; width:80%; font-size:1rem; margin-bottom:20px}
	td{border:1px solid #000; padding:0 5px; height:2rem; text-align:center}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Aftersale/paperwork')}">基本信息</a></li>
            <li><a href="{:U('Aftersale/dataupload')}">证件变更</a></li>
            <li class="active"><a href="{:U('Aftersale/preview')}">审核意见</a></li>
            <li><a href="{:U('Aftersale/preview')}">缴费打证</a></li>
		</ul>
        
        <form class="form-horizontal js-ajax-form" action="{:U('store/add_post')}" method="post" enctype="multipart/form-data">
            <fieldset>
                <div class="control-group">
                    <label class="control-label">意见内容</label>
                    <div class="controls">
                        <textarea name="user_login" style=" width:400px; height:150px;" placeholder="请输入0-200字的审核意见" ></textarea>
                        <span class="form-required">*</span>
                    </div>
                </div>
			</fieldset>
			<div class="form-actions">
            	<div class="btn btn-primary" id="check-btn">保存</div>
				<a class="btn" href="javascript:history.back(-1);">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
    
	<script type="text/javascript">
	 // 提交订单
	$("#check-btn").click(function(){
		$.post($("form").attr('action'), $("form").serialize(), function(result){
			if(result.state == 'success'){
				alert("保存成功！");
				$('#js-dialog-close').click();
			} else {
				alert(result.info);
			}
		}, 'json');
	});
    </script>

</body>
</html>